<html>
<head>
</head>
<body>

    <input type="button" onclick="alert('test');return false;" value="alert"  />
    <input type="button" onclick="AddInfo('last.html');return false;" value="open"  />
    <script>

        function AddInfo(url)
        {
            window.open(url);
        }
    </script>
    
</body>
</html>
